package com.ed100.sass.patter.factory.simple;

public class SimpleFactory {

	public BmwCar createCard(int type) {
		switch (type) {
		case 1:
			
			return new Bmw320();
		case 2:
			
			return new Bmw520();
		}
		
		return null;
	}
}
